home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DATABASE / BCAST102.ZIP;1 / BCAST.MAN < prev    next >
Encoding:
Text File  |  1992-07-30  |  49.3 KB  |  998 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.                    DAILY SOLAR GEOPHYSICAL DATA BROADCAST PROCESSOR
  31.  
  32.                            DATABASE MANAGER - USERS MANUAL
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.                                      Version 1.02
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.                                 (c) Copyright 1992 by
  51.  
  52.                             The Solar Terrestrial Dispatch
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.                                   Table Of Contents
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.           Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   1
  76.  
  77.           Registering this Software . . . . . . . . . . . . . . . . . .   2
  78.  
  79.           The BCAST Configuration File  . . . . . . . . . . . . . . . .   3
  80.  
  81.           The BCAST Environment Variable  . . . . . . . . . . . . . . .   3
  82.  
  83.           Processing Data Sets  . . . . . . . . . . . . . . . . . . . .   3
  84.  
  85.           Displaying Data Sets On-Screen  . . . . . . . . . . . . . . .   6
  86.  
  87.           The Archive and Analysis Menu . . . . . . . . . . . . . . . .   7
  88.                Saving Loaded Data Sets to the Database  . . . . . . . .   7
  89.                Loading a Dataset from the Database  . . . . . . . . . .   8
  90.                The Graphical Analysis Options . . . . . . . . . . . . .   9
  91.                Generating an Activity Summary Report  . . . . . . . . .  11
  92.                Generating a Standard SGDB File & Modifying Records  . .  11
  93.                Dumping Data Sets to an ASCII File . . . . . . . . . . .  12
  94.                Deleting Data Sets from the Database . . . . . . . . . .  13
  95.                Returning to the Main Menu . . . . . . . . . . . . . . .  13
  96.  
  97.           Exiting BCAST and Returning to DOS  . . . . . . . . . . . . .  13
  98.  
  99.           The Batch Processing Feature of BCAST . . . . . . . . . . . .  14
  100.  
  101.           Alternate Methods of Executing BCAST  . . . . . . . . . . . .  15
  102.  
  103.           Defragmenting the BCAST Database  . . . . . . . . . . . . . .  15
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.                                                                           1
  111.  
  112.           Introduction
  113.  
  114.                The Solar Terrestrial  Dispatch (STD)  has been providing  a
  115.           comprehensive  set  of  daily solar  geophysical  indices  to the
  116.           public in  the  form of  a  product  known as  the  "Daily  Solar
  117.           Geophysical  Data  Broadcast"  (SGDB).    The  data  and  indices
  118.           contained in the SGDB are very  valuable to persons interested in
  119.           ionospheric   radio   communications,  solar   activity,  auroral
  120.           activity, and  related geophysical and  even atmospheric  events.
  121.           The  data  sets  are  being  used  by research  institutions  and
  122.           astronomical organizations around the world.
  123.  
  124.                The  service of  providing these  daily data  sets began  on
  125.           September  4,  1991.   The Solar  Terrestrial Dispatch  has since
  126.           developed an extensive and contiguous base of data.
  127.  
  128.                Such a large  base of  data is  more useful when  it can  be
  129.           archived  and studied over time.   To satisfy  this need, the STD
  130.           developed this software  package to automatically extract  all of
  131.           the relevant data from the daily SGDB reports and archive them to
  132.           disk for analysis and study.  This  software is known as "BCAST",
  133.           the  Solar  Geophysical  Data BroadCAST  Processor  and  Database
  134.           Manager.    Included  with  this  software package  are  numerous
  135.           utility programs, including a powerful utility which will exploit
  136.           the  graphics capabilities of systems that have VGA graphics (see
  137.           KGRAPH.MAN for details).
  138.  
  139.                BCAST  provides  complete  archive and  database  management
  140.           facilities in  a user-friendly  and easily  operated environment.
  141.           It will  automatically maintain  a fully  sorted  archive of  the
  142.           datasets for instant recall or graphical  analysis.  It will also
  143.           produce detailed summaries of the datasets in laymans terms which
  144.           may be printed out and distributed, or filed away.
  145.  
  146.                BCAST also includes  a powerful full-screen  mass-processing
  147.           feature to automatically  archive large  numbers of SGDB  reports
  148.           easily and painlessly.
  149.  
  150.                Extensive and complete monthly archives  of all SGDB reports
  151.           are available from the STD, through the STD BBS, or via anonymous
  152.           FTP for those who are connected to the larger electronic networks
  153.           such as the  Internet.  Each of the monthly archives may be batch
  154.           processed or selectively processed using BCAST.
  155.  
  156.                The STD also supplies extensive  documentation to help those
  157.           who  are less familiar,  understand the significance  of the data
  158.           contained in the daily SGDB reports.  The document "Understanding
  159.           Solar  Terrestrial Reports"  comes in  two-parts and is  a superb
  160.           introductory text for those  who want to know more  regarding the
  161.           relations  between  solar  activity  and Earth-based  terrestrial
  162.           activity.  These documents  are also available from the  STD BBS,
  163.           or through anonymous FTP.
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.                                                                           2
  171.  
  172.  
  173.                The STD BBS is accessible 24 hours a day, 7 days a week, and
  174.           provides  alerts, warnings,  and  forecasts  regarding solar  and
  175.           geophysical  phenomena.    The  phone  number is:  403  756-3008.
  176.           Operation is presently  permitted at  either 300,  1200, or  2400
  177.           baud.
  178.  
  179.                The database generated  and maintained by BCAST will let you
  180.           analyze and study the cyclical behaviour  of such things as solar
  181.           activity,  geomagnetic  activity,  and ionospheric  disturbances.
  182.           You may  also be able  to anticipate the future  behaviour of the
  183.           indices.    This is  invaluable to  those  who, for  example, are
  184.           interested  in  predicting  when  radio  communications  will  be
  185.           optimum, or when auroral activity may  again be observed, or when
  186.           the next group of hot solar regions is due to rotate into view.
  187.  
  188.  
  189.           Registering this Software
  190.  
  191.                This version (1.02) of BCAST was released in late July, 1992
  192.           and represents a substantial improvement over  previous versions.
  193.           The software was originally  released in late 1991 and  has since
  194.           proven very reliable.
  195.  
  196.                We  have expended a  considerable amount of  time to provide
  197.           and  maintain  this   software,  not  to  mention  the  time  and
  198.           considerable resources which  are devoted to providing  the daily
  199.           services on which this software is dependent.
  200.  
  201.                In order to  help recover some of the costs involved, we are
  202.           requesting all those who make use of this software to register it
  203.           with  us.   By  doing  so, all  of the  features,  functions, and
  204.           utilities associated with this software package will be available
  205.           without limitation.   Moreover, those who are registered  with us
  206.           will  be  entitled  to  free  software upgrades  and  substantial
  207.           discounts on future software releases.
  208.  
  209.                To register this software, read the information contained in
  210.           the file "REGISTER.DOC".  Then, simply print out and fill out the
  211.           registration form  included in the file and send  it to us at the
  212.           following address with your registration payment enclosed:
  213.  
  214.                               Solar Terrestrial Dispatch
  215.                               P.O. Box 357
  216.                               Stirling, Alberta, Canada
  217.                               T0K 2E0
  218.  
  219.           We  will  return   your  unique  registration  I.D.   and  simple
  220.           instructions  for  making  your  copy of  the  BCAST  software  a
  221.           registered  and   fully-functional  copy.     Consult   the  file
  222.           "REGISTER.DOC" for more information.
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.                                                                           3
  230.  
  231.  
  232.           The BCAST Configuration File
  233.  
  234.                Version   1.01  of  BCAST  supported  a  configuration  file
  235.           intended to permit the definition of defaults for BCAST.  Version
  236.           1.02  of  BCAST  has expanded  on  this  idea  by permitting  the
  237.           selection  of defaults  for a  number of features.   Most  of the
  238.           acronyms supported in  this version are designed to customize the
  239.           operation  of  the utility  program,  KGRAPH (a  powerful utility
  240.           designed to display  detailed geomagnetic data on  systems having
  241.           VGA displays).
  242.  
  243.                The configuration  (or initialization) file  is "BCAST.INI".
  244.           This is an editable text file.  All of the available acronyms are
  245.           defined in  this file.   New users  of this software  package are
  246.           encouraged to read  through the BCAST.INI initialization  file to
  247.           become familiar with the defaults which may be set.
  248.  
  249.  
  250.           The BCAST Environment Variable
  251.  
  252.                By setting the DOS environment  variable "BCAST" to point to
  253.           the path containing the BCAST initialization file (BCAST.INI) and
  254.           the  BCAST database file (DATASETS.DAT), you  are able to execute
  255.           BCAST or any of the accompanying  utilities from any directory on
  256.           your system.
  257.  
  258.                To accomplish this,  change your  AUTOEXEC.BAT file so  that
  259.           the BCAST environment variable is appropriately set each time you
  260.           boot  your  computer.     For  example,  if  the  BCAST.INI   and
  261.           DATASETS.DAT files are  located at: "C:\BCAST", you  would simply
  262.           insert the line:  "SET BCAST=C:\BCAST" in your  AUTOEXEC.BAT file
  263.           and  reboot  your computer.    Thereafter,  you will  be  able to
  264.           execute BCAST.EXE  or  any of  the  other utility  programs  from
  265.           anywhere on your system.
  266.  
  267.                Please remember that in  order for DOS to find  the programs
  268.           such as BCAST.EXE,  or KGRAPH.EXE, you  must also make sure  that
  269.           your "PATH"  environment variable  is adjusted  to  point to  the
  270.           location of these executable programs.
  271.  
  272.                Setting the "BCAST" environment variable simply  permits the
  273.           BCAST  software to locate and use the initialization and database
  274.           files, which are critical to the operation of the BCAST software.
  275.  
  276.  
  277.           Processing Data Sets
  278.  
  279.                This section of  BCAST was completely rewritten  for version
  280.           1.01 in order to enhance and  simplify the processing of datasets
  281.           by  BCAST.   It provides  a powerful interface  and will  let you
  282.           selectively process any  number of SGDB reports for  inclusion in
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.                                                                           4
  290.  
  291.           the database or for viewing on-screen.
  292.  
  293.                To process data sets from the main menu of BCAST, select the
  294.           "Process Datasets" option.  A screen  will appear showing you the
  295.           names  of  the files  BCAST identified  using the  MASK parameter
  296.           defined in the configuration file.
  297.  
  298.           (The "MASK" acronym is defined in the file "BCAST.INI" and simply
  299.           tells BCAST where to look for all of the processable textual SGDB
  300.           reports.   You  can force  BCAST  to look  for these  files  in a
  301.           specific location  on your computers hard disk  (or floppy drive)
  302.           by defining the  "MASK" acronym in  the BCAST.INI file.   Consult
  303.           the "BCAST.INI" file for more information.)
  304.  
  305.                If no files  match the given  MASK, the statement "No  Files
  306.           Selected" will appear on the bottom of the screen.  If  files are
  307.           found which  do match  the given  MASK, their  filenames will  be
  308.           displayed and sorted  from left to right, and top to bottom.  One
  309.           screen can display up to 72 files at a time.  If BCAST identifies
  310.           more  than  72 files,  it  will  display the  remaining  files on
  311.           additional screens after you have finished processing the desired
  312.           files from the current screen.
  313.  
  314.                To select  a file for processing, use the arrow keys to move
  315.           the screen cursor over the file you wish to process.   Then press
  316.           the SPACE-BAR.  The first file you  select in this manner will be
  317.           identified on-screen by  the appearance  of red "#01:"  preceding
  318.           the filename.  The second file you select will be  prepended with
  319.           a red "#02:" and so on.  You can select up to 72 files to process
  320.           on-screen  in this  manner.   Each will be  numbered accordingly.
  321.           The numbers identify the order the files will be processed.
  322.  
  323.                You can deselect a file for  processing by moving the cursor
  324.           over  the file  and pressing  the  SPACE-BAR.   If that  file was
  325.           previously selected to  be processed, it  will be deselected  and
  326.           the  entire  ordering   sequence  will   be  updated  to   remain
  327.           contiguous.
  328.  
  329.                After  you  have finished  selecting  the files  to process,
  330.           press  ENTER.   BCAST  will process  all  of the  files  you have
  331.           selected in the  order you selected  them.  If  any of the  files
  332.           being processed are corrupt, BCAST will replace its corresponding
  333.           number with "BAD:" so you can identify those files which may need
  334.           to  be repaired  or  replaced.   If  all  goes well,  BCAST  will
  335.           continue processing the files until  all selected files have been
  336.           processed.
  337.  
  338.                After  all of  the  files have  been  processed, BCAST  will
  339.           display the next screenful of  files matching the MASK parameter.
  340.           After all  of the  files  have been  selected (ex.  when no  more
  341.           screens of file  names are displayed),  BCAST will return you  to
  342.           the main menu.
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.                                                                           5
  350.  
  351.  
  352.                Please note that registered copies of BCAST will attempt  to
  353.           archive  all  selected  files  to  the  database.    During  this
  354.           procedure, some files may process faster than others.  The reason
  355.           for this is due  to the fact that BCAST maintains  a fully sorted
  356.           database.   When it  attempts  to archive  a new  dataset to  the
  357.           database, it re-sorts the database.  Therefore, if you process an
  358.           SGDB report that has  a date near the end of  the database, BCAST
  359.           will process it relatively quickly since very little sorting will
  360.           need to be  done.  On the  other hand, if  you process a  dataset
  361.           that has  an old date,  BCAST may need  to re-sort  a significant
  362.           fraction of the  database.  The speed with which BCAST is able to
  363.           process files into  the sorted database  will also depend on  the
  364.           size  of the  database.   It is  therefore to  your  advantage to
  365.           select files which are already in a roughly sorted sequence.
  366.  
  367.                BCAST will not overwrite or add  datasets to the database if
  368.           they already exist.  If you  happen to select and process a  file
  369.           which  is already contained  in your database,  BCAST will simply
  370.           skip  over  that  file  and  assume  that  it  has  already  been
  371.           processed.  It  will not change the contents of the record in the
  372.           database file.
  373.  
  374.                Unregistered copies of BCAST will not attempt to archive the
  375.           selected files to  the database.  Instead,  unregistered software
  376.           will only  load the selected files  for on-screen review.   It is
  377.           important to remember  that in  both registered and  unregistered
  378.           versions  of BCAST,  the last file  loaded will  be the  only one
  379.           resident in memory for reviewing on-screen.
  380.  
  381.                An additional feature which can  be accessed while selecting
  382.           files  to  be  processed,  is  the  ability to  change  the  MASK
  383.           parameter.   At the bottom  left-hand corner of  the screen  is a
  384.           "Mask=" statement.   The current value  of the MASK parameter  is
  385.           printed in this area.  If the length of the MASK parameter is too
  386.           large to be fully  printed on-screen, it will be truncated at the
  387.           appropriate location  and a  ~ symbol  will be  appended.   The ~
  388.           symbol informs you  that truncation was  performed, and that  the
  389.           entire MASK parameter cannot be printed on-screen.
  390.  
  391.                To change the  MASK parameter  while selecting files,  press
  392.           the "M" key  (for Mask).  A cursor will  immediately appear after
  393.           the  "Mask="  statement.   Simply  type  in your  new  path using
  394.           whatever drive,  directory, and/or wildcard  information that  is
  395.           necessary.  When  finished, press  ENTER and the  screen will  be
  396.           redrawn with the files that match the new MASK parameter.
  397.  
  398.                Changing the MASK string  from within BCAST does not  affect
  399.           the value of the MASK given  in the configuration file BCAST.INI.
  400.           Modifying the MASK value from within BCAST is only temporary.  As
  401.           soon as you re-run BCAST, the MASK will once again be loaded with
  402.           the value given in the configuration file.  If no MASK command is
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.                                                                           6
  410.  
  411.           given within the configuration file, the default  string used for
  412.           the MASK is "*.dly".
  413.  
  414.                You  may  exit the  file  selection  screen at  any  time by
  415.           pressing the ESCape key.  This will immediately return you to the
  416.           main menu, even if files were selected to be processed.
  417.  
  418.  
  419.           Displaying Data Sets On-Screen
  420.  
  421.                After a SGDB dataset has been  loaded from disk into memory,
  422.           you may  choose to  display the  data on-screen  in a  friendlier
  423.           format.    The  second  main menu  function,  "Review  Data  Set"
  424.           provides you with this capability. 
  425.            
  426.                This feature automatically decodes the various acronyms used
  427.           in the textual SGDB reports and displays their meanings on-screen
  428.           in laymans terms.  It provides screenful upon screenful of useful
  429.           information regarding the  dataset by  interpreting the  contents
  430.           and explaining or displaying them. 
  431.            
  432.                The first and possibly second screens displayed by BCAST are
  433.           summaries of the  warnings and  alerts which were  active at  the
  434.           time the  SGDB data  set was  compiled at  the Solar  Terrestrial
  435.           Dispatch.  These warnings  and alerts which are displayed  do not
  436.           go into  any significant detail.   In  fact, this section  of the
  437.           SGDB report is  the only  section which is  not copied  verbosely
  438.           into the computer during  the processing phase.  In  other words,
  439.           the  details of each warning and/or alert are not processed.  The
  440.           reason  for this  is to keep  the BCAST  database file down  to a
  441.           minimal size.   The smaller  each BCAST database  record is,  the
  442.           more information you will  be able to store in a  given amount of
  443.           disk space.   If all  of the  possible details  of every  various
  444.           warning and alert  were processed, each database record  would be
  445.           much larger than needed,  more difficult to process and  would be
  446.           wasteful  with  disk  space.   All  that  is  really required  is
  447.           knowledge of the  basic warnings and  alerts which are in  effect
  448.           during each day.  The details of the warnings or alerts aren't as
  449.           important.  If the  details are important, you are  encouraged to
  450.           obtain  one  of  the  extensive  monthly  summaries  of  activity
  451.           produced by the Solar Terrestrial Dispatch,  as made available on
  452.           our computer BBS system and through anonymous FTP.
  453.            
  454.                The screens following  the warnings and alerts  summarize in
  455.           great detail  the data  which was  loaded from  the textual  SGDB
  456.           report.  All of the various indices are listed.  Many of them are
  457.           interpreted for you so you can better understand their meaning. 
  458.            
  459.                This  feature  may  be  executed   by  those  who  have  not
  460.           registered the BCAST software package with us. 
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.                                                                           7
  468.  
  469.  
  470.           The Archive and Analysis Menu
  471.  
  472.                The third  function of  the BCAST  main menu  represents the
  473.           heart of BCAST:   the archive and analysis features.   This is an
  474.           extensive  menu  containing  all of  the  functions  necessary to
  475.           maintain  the   database,  archive  new  data  to disk,  generate
  476.           reports, and graphically analyze the data in the database. 
  477.            
  478.                In order to encourage payment for this program, this section
  479.           of BCAST may be viewed but cannot  be used by those who have  not
  480.           registered their copy  of BCAST with us.  In order to develop and
  481.           maintain your own database of records,  you will need to purchase
  482.           your copy of the  program by sending a cheque or  money order for
  483.           $35.00 in either Canadian or U.S.  funds to the Solar Terrestrial
  484.           Dispatch (consult the file "REGISTER.DOC" for more  information).
  485.           After your unique  registration number has  been returned to  you
  486.           with the  simple instructions  for making  your copy  of BCAST  a
  487.           registered copy, you  will be able to access and use this section
  488.           of BCAST at your leisure. 
  489.  
  490.  
  491.           Saving Loaded Data Sets to the Database
  492.  
  493.                BCAST  expects  to  find  its  database  file  in  the  same
  494.           directory as the BCAST initialization file (BCAST.INI) and with a
  495.           filename of "DATASETS.DAT".   This file is  created automatically
  496.           when you  first  start processing  the  daily SGDB  reports  with
  497.           BCAST.  If the  environment variable "BCAST" is not  used and you
  498.           execute BCAST in  a directory where  this database file does  not
  499.           exist, BCAST will not use the database.  This behavior allows you
  500.           to maintain separate databases in different  directories.  To use
  501.           a specific database, simply move to the directory  containing the
  502.           database and  execute BCAST.   If  you are  only maintaining  one
  503.           database, it is  usually most convenient  to set the  environment
  504.           variable "BCAST"  to the  path of  your BCAST.INI  and associated
  505.           files (textual SGDB data  files may be located elsewhere,  as was
  506.           described earlier).
  507.  
  508.                Before this option can be executed, a dataset must be loaded
  509.           into memory.   After you have loaded  a dataset into  memory, you
  510.           may archive (save) that dataset to  your database file using this
  511.           option  of  the Archive  Menu.   To  execute this  option, simply
  512.           select  the "Save Data Set" option  in the Archive Menu using the
  513.           Up and Down arrow keys.  Alternatively, you may select this  menu
  514.           item by pressing  the corresponding  letter associated with  that
  515.           menu choice.
  516.            
  517.                Before writing the new data set  to the database file, BCAST
  518.           checks to  make sure that no other  records in the database match
  519.           the one you are attempting  to archive.  If it finds a  record in
  520.           the database with the same date as the dataset you are attempting
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.                                                                           8
  528.  
  529.           to  archive, a warning  is displayed  on-screen giving  you three
  530.           options.   You may overwrite the record, which is useful when you
  531.           need to  correct or modify  a record in  your database.   You may
  532.           skip the record,  which will force BCAST to write  the dataset to
  533.           the database.  In this  case, nothing is overwritten.  New  space
  534.           within the database  is created for  the dataset you are  saving.
  535.           If this  option is  chosen, there  will  be two  records in  your
  536.           database with identical  dates.  The  last option lets you  abort
  537.           the save procedure  altogether.   In this case,  the database  is
  538.           left unchanged.  Nothing is written to the database. 
  539.            
  540.                When  BCAST  saves   datasets  to  the  database   file,  it
  541.           automatically archives the dataset fully sorted with the existing
  542.           records in  the database.   It  sorts the  database according  to
  543.           dates.   For this  reason, records  which are  archived near  the
  544.           "front" of the database (ex.  a dataset which has a date  earlier
  545.           than  anything  presently  existing in  the  database)  will take
  546.           longer to save to  disk than a dataset which has  a date close to
  547.           the present date.  The  sorting process occurs sequentially  from
  548.           the  lowest to  the  highest dates.   That  is,  a dataset  dated
  549.           January 1, 1992  would appear BEFORE  a dataset dated January  2,
  550.           1992.  Conversely,  a dataset dated  December 31, 1991 (note  the
  551.           year) would appear  BEFORE the  datasets dated January  1 and  2,
  552.           1992 in the database file. 
  553.            
  554.                This automatic sorting feature  significantly simplifies and
  555.           speeds up many of the functions available with BCAST. 
  556.            
  557.                If the dataset is successfully archived to the database,  an
  558.           "operation successful" message is  displayed on your screen.   If
  559.           an error  occurs, you  may be  returned to  DOS depending  on the
  560.           severity  of the error.  All disk errors result in  a Fatal Error
  561.           message which immediately returns  you to the DOS prompt  with an
  562.           explanation. 
  563.  
  564.  
  565.           Loading a Dataset from the Database
  566.  
  567.                This option loads a dataset which you previously archived to
  568.           the database.  Using  this option, you can examine  (via the main
  569.           menu option "Review Data Sets") the  conditions and indices which
  570.           were observed for any date contained in your database file. 
  571.            
  572.                You are simply prompted for the date of the dataset you wish
  573.           to  load  from the  database.    After specifying  a  date, BCAST
  574.           searches  through  the  database  until  it finds  the  requested
  575.           dataset.  If the date you specify  is either invalid or cannot be
  576.           found in the database,  an error message is displayed  which then
  577.           returns you to the Archive Menu. 
  578.            
  579.                This option has a secondary effect  which may not be clearly
  580.           apparent  at first.  When BCAST graphically analyzes the datasets
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.                                                                           9
  588.  
  589.           in the database file, it  always attempts to graphically  display
  590.           the various datasets  with respect to  the date of the  currently
  591.           loaded dataset. In other words, all  graphs or charts produced by
  592.           BCAST  will be displayed  so that the  LAST line of  the graph or
  593.           chart is the graph line  of the dataset which you have  currently
  594.           loaded in memory.  If you  do not have a specific dataset  loaded
  595.           in memory, all graphs  are produced with the last  dataset of the
  596.           database (ex. the  most recently  archived dataset) displayed  as
  597.           the last graph line on the screen. 
  598.  
  599.                To better  explain this feature, let's assume  that you have
  600.           200  datasets  archived  to   your  database  and  you  wish   to
  601.           graphically analyze them.   Since BCAST can only fit  70 datasets
  602.           on-screen at one time, it is necessary to select a portion of the
  603.           200 datasets to graphically analyze.   One way to achieve this is
  604.           by loading datasets for specific dates into memory.  If a dataset
  605.           is  loaded  into memory,  the  date of  that  dataset is  used to
  606.           determine  which  portion  of  the  200 datasets  to  graphically
  607.           display on-screen.   For  example, if  the 200  datasets in  your
  608.           database were sequentially dated from January 1, 1992 to July 19,
  609.           1992 (200 consecutive days), and you loaded a dataset into memory
  610.           which  was dated  March 11,  1992, BCAST  would only  graphically
  611.           analyze the datasets  from January 1, 1992 to  March 11, 1992 (70
  612.           days).  The  dataset for March 11,  1992 would be the  last graph
  613.           line  displayed  on-screen.     Similarly,   if  you  wanted   to
  614.           graphically display  the last  70 datasets  on-screen, you  would
  615.           load the dataset  which was dated July 19, 1992 into memory.  All
  616.           graphical charts produced by BCAST follow this procedure.
  617.  
  618.                Alternatively, you can  use the PageUp, PageDown,  Home, and
  619.           End  keys  on your  keyboard to  move  around the  database while
  620.           viewing  the  graphs or  charts.   This  is explained  in greater
  621.           detail below.
  622.  
  623.  
  624.           The Graphical Analysis Options
  625.  
  626.                BCAST provides a  set of  valuable graphical analysis  tools
  627.           which will  help you  better analyze  the  cyclical behaviour  or
  628.           other parameters of the datasets in your database. 
  629.  
  630.                Almost all of the data contained  in the SGDB reports can be
  631.           graphically analyzed using BCAST.   The only items which  are not
  632.           analyzed by BCAST.EXE  are the  Boulder and Planetary  K-indices.
  633.           Additional software to  graphically display the K-index  data has
  634.           been included as utility programs (ex. KGRAPH.EXE, AVG.EXE).
  635.  
  636.                To  analyze a  specific  set  of  data,  simply  select  the
  637.           appropriate  option from  the Archive  Menu and  press ENTER,  or
  638.           press  the  corresponding  letter  associated  with  the  desired
  639.           function.
  640.            
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.                                                                          10
  648.  
  649.                BCAST produces two  types of  graphical charts depending  on
  650.           what type of  data you are analyzing.   Linear data, such  as the
  651.           10.7 cm solar radio  flux or the geomagnetic data, use the linear
  652.           graphical functions.   Other datasets such as  the proton fluence
  653.           or x-ray statistics  are analyzed  and graphed using  logarithmic
  654.           graphical charts.  This significantly improves the detail  of the
  655.           graphs. 
  656.            
  657.                There are several important functions  which can be executed
  658.           while graphs of datasets  are displayed on-screen.  The  first is
  659.           the ability  to move through  the graph, line by  line, using the
  660.           left and right arrow keys.   As you use the arrow keys,  each new
  661.           graph line you move to is highlighted.  Using the left arrow keys
  662.           moves the  highlighted area  to the  left.   The right arrow  key
  663.           moves the highlighted  area to the right.  In  addition, the date
  664.           of  the  highlighted  graph  line  as  well as  the  exact  value
  665.           producing that line  is displayed  at the bottom  of the  screen.
  666.           This lets you examine each line of the graph in detail.
  667.  
  668.                Version  1.01  of BCAST  also  permits examination  of other
  669.           parts of the database while viewing graphical images.  The PAGEUP
  670.           and PAGEDOWN keys shift the graphs being viewed by  the number of
  671.           days  defined  in  the BCAST.INI  configuration  file  (under the
  672.           GRAPHSTEP command).  The default is 35 days, which results in the
  673.           graphs shifting  half of a screen left or  right each time one of
  674.           these keys is pressed.  This value  can be changed as you wish by
  675.           editing the BCAST.INI  initialization file.  You  can force BCAST
  676.           to move to  the beginning of  the database by  pressing the  HOME
  677.           key.  You  can also  display the  last 70 days  contained in  the
  678.           database by pressing the END key.
  679.            
  680.                Another  useful  function  which  can  be executed  while  a
  681.           graphical  chart  is  displayed,  is  the  ability  to  save  the
  682.           currently displayed graph to a text ASCII file on disk.   After a
  683.           graph has been  saved to disk, you can print it  out on a printer
  684.           or transfer them electronically to other locations.
  685.            
  686.                To invoke  this disk saving function, simply  press "S" (for
  687.           "S"ave) while  any graphical chart  is displayed on-screen.   The
  688.           screen will immediately be converted to ASCII format and saved to
  689.           disk under the file name "GRAPH.TXT".   Each time you press  "S",
  690.           the  graphical  chart  displayed  on-screen  is APPENDED  to  (or
  691.           written to the end of) the GRAPH.TXT file.  This lets you compile
  692.           an extensive set  of graphs simply by graphically analyzing those
  693.           datasets  you need  and pressing  the  "S" key.   After  you have
  694.           finished and  exited the BCAST program to the DOS prompt, you may
  695.           display  the GRAPH.TXT  file, edit it  using your  favourite word
  696.           processor, print  it out, transfer  it elsewhere, or  do whatever
  697.           you see fit to do with it. 
  698.            
  699.                To continue  to view other  datasets, press  ENTER when  you
  700.           have finished viewing a  specific graphical chart.  To  abort the
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.                                                                          11
  708.  
  709.           procedure and return to the archive menu, press the ESCape key. 
  710.  
  711.  
  712.           Generating an Activity Summary Report
  713.  
  714.                This  option  of  the Archive  Menu  analyzes  the currently
  715.           loaded  dataset  and   writes  a  summary  report  to   the  file
  716.           "SUMMARY.TXT" on  disk.   All of  the indices  contained in  that
  717.           dataset are written to the file,  along with the various warnings
  718.           and  alerts which were  in effect,  etc.   This report-generation
  719.           feature is most useful when data from  the SGDB reports are to be
  720.           distributed throughout an  organization, or transferred to  other
  721.           locations through e-mail  or modem.   This is also an  invaluable
  722.           tool for producing  hard-copy summaries of  the dataset you  have
  723.           loaded  in  memory.    It  may then  be  filed  away  for  future
  724.           reference. 
  725.            
  726.                If the file  "SUMMARY.TXT" already  exists when you  execute
  727.           this function, the contents of the  file will NOT be overwritten.
  728.           All information is  appended to the  SUMMARY.TXT file.  You  will
  729.           therefore be able to  store multiple summaries in a  single file,
  730.           if so desired. 
  731.  
  732.                The  summary  file   is  created  in  the   current  working
  733.           directory, not in the directory where the BCAST files are stored.
  734.  
  735.  
  736.           Generating a Standard SGDB File & Modifying Records
  737.  
  738.                BCAST  has  the   ability  to  recreate  a   standard  Solar
  739.           Geophysical Data  Broadcast format  file.   This is  an important
  740.           function if you  need to modify  certain indices  or values of  a
  741.           specific dataset in your archive. 
  742.            
  743.                To  use  this feature,  you must  have  a dataset  loaded in
  744.           memory (either using the  first option of the Main  Menu [Process
  745.           Data Set], or the second option of the Archive Menu [Load  a Data
  746.           Set]).   After a  dataset has been loaded  in memory, a precisely
  747.           formatted SGDB file can be created using this function. 
  748.            
  749.                Why would  you need  to create a  standard SGDB file  in the
  750.           first  place?  There  are a number  of reasons.  You  may need to
  751.           transfer a specific dataset you have in  your archive to a friend
  752.           who is missing that  particular dataset.  You could  transfer the
  753.           SUMMARY.TXT file, although this file is not in the correct format
  754.           to be  processed by others using BCAST.  Using this function, you
  755.           can recreate a copy of the SGDB  for any dataset in your archive,
  756.           which  may then  be shared  with others  who are  using BCAST  to
  757.           archive and analyze data.  
  758.            
  759.                One of the primary reasons for requiring this function is to
  760.           permit  the  easy  modification  of  specific  datasets  in  your
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.                                                                          12
  768.  
  769.           database.  For example, lets assume that one of your datasets  in
  770.           your database is corrupt.  Lets say  that one of your datasets in
  771.           your database has  a bad value for  the 10.7 cm solar  radio flux
  772.           and you  need to  correct it.   All you need  to do is  load that
  773.           dataset into memory using  the second option of the  Archive Menu
  774.           (Load a Data  Set), and generate  a standard SGDB  file for  that
  775.           dataset.   The incorrect 10.7  cm solar radio  flux value will be
  776.           written  to  the SGDB.TXT  file.    Simply exit  BCAST,  edit the
  777.           SGDB.TXT file  to correct  the 10.7  cm solar  radio flux  value.
  778.           Then  reload  BCAST,  reprocess  the SGDB.TXT  file  so  that the
  779.           corrected dataset  is reloaded  into memory  (using the  "Process
  780.           Data  Set"  option of  the  Main  Menu), and  save  the corrected
  781.           dataset to  your database using the "Save Data Set" option of the
  782.           Archive  Menu.    BCAST  will  detect the  corrupted  dataset  by
  783.           realizing that the  dataset you have  loaded into memory has  the
  784.           same date as the bad dataset  in your archive.  It will  then ask
  785.           whether or not you want to overwrite the dataset.   By responding
  786.           so  that  BCAST   overwrites  the  incorrect  dataset,   you  can
  787.           effectively correct the bad solar flux value in your database.  
  788.            
  789.                This procedure can be  carried out for any of the  values in
  790.           your database.   It is a quick  and easy method of  modifying any
  791.           dataset  in  your  archive.   To  summarize,  simply extract  the
  792.           dataset you  need to  correct to  a standard SGDB  file, edit  it
  793.           using a word processor, reprocess it using BCAST and resave it to
  794.           your  database  file  using  the  "O"verwrite option  which  will
  795.           appear.
  796.            
  797.                When  you  produce an  SGDB-formatted  file using  this menu
  798.           option,  BCAST will  not  overwrite  any  existing  data  in  the
  799.           SGDB.TXT file if  it already exists  when you attempt to  produce
  800.           the standard SGDB  file.  All  data is  appended to the  SGDB.TXT
  801.           file.  You may therefore create multiple SGDB reports in a single
  802.           file, if desired.  However, note that only the first SGDB  report
  803.           in the file will be accepted and processed by BCAST.
  804.  
  805.  
  806.           Dumping Data Sets to an ASCII File
  807.  
  808.                This powerful function lets you  dump the entire contents of
  809.           your database to a text ASCII  file with the name "DATASETS.TXT".
  810.           Use this function with  caution, since very large text  files can
  811.           be created in the process.  
  812.            
  813.                During this procedure, BCAST runs through your database file
  814.           multiple times, extracting each of the datasets from the database
  815.           and saving them  to the  DATASETS.TXT file.   The resulting  text
  816.           file is a  well-ordered, fully sorted, textual  representation of
  817.           every set of data in your database.  
  818.            
  819.                This feature becomes particularly important when you need to
  820.           analyze the data  externally using  something like a  statistical
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.                                                                          13
  828.  
  829.           computer program, a data plotter, or  a spreadsheet.  Also, since
  830.           the data is dumped  in a pure ASCII format, you can edit the text
  831.           file and extract only the information you require.
  832.  
  833.                Note that the  utility program "FIELDS" will  custom-extract
  834.           almost any  piece of data in your  database file.  This  may be a
  835.           more efficient method to use to  extract only certain portions of
  836.           the database file.   Consult the  FIELDS manual (FIELDS.MAN)  for
  837.           more information.
  838.  
  839.  
  840.           Deleting Data Sets from the Database
  841.  
  842.                The  only  other  function  required  to   provide  complete
  843.           management control  over your database  is a  method of  deleting
  844.           datasets from your database.  That is the purpose of this Archive
  845.           Menu function.  
  846.            
  847.                To  delete  a  specific dataset  from  your  archive, simply
  848.           select this function.  BCAST will prompt  you for the date of the
  849.           dataset to delete.   After typing in the date, BCAST  will search
  850.           through the database  until it  finds a dataset  with a  matching
  851.           date.  It will  then request confirmation to delete  the dataset.
  852.           If you respond affirmatively, BCAST will delete the  dataset from
  853.           your database.  If  you do not confirm deletion, BCAST will abort
  854.           the procedure and leave your database untouched.  
  855.  
  856.                It  is  important  to  note that  after  you  have confirmed
  857.           deletion, BCAST will delete ALL datasets with dates matching  the
  858.           one you supplied,  not only  the one which  BCAST first  detects.
  859.           Therefore, using this command you can delete accidental redundant
  860.           datasets from your database (as can  occur if you explicitly save
  861.           a dataset to your archive which already exists).
  862.  
  863.  
  864.           Returning to the Main Menu
  865.  
  866.                You can return from the Archive Menu to the main menu at any
  867.           time by either pressing the ESCape  key, or selecting the "Return
  868.           to the  Main Menu" option.   When running  BCAST, the ESCape  key
  869.           serves as the "abort" key.  It  will abort almost any process and
  870.           return you to a menu. 
  871.  
  872.  
  873.           Exiting BCAST and Returning to DOS
  874.  
  875.                To exit BCAST  and return to  the DOS prompt, either  select
  876.           the "Exit Program"  command of the Main Menu or  press the ESCape
  877.           key  at the Main  Menu prompt.  Either  method will terminate the
  878.           program and return you to the DOS prompt. 
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.                                                                          14
  886.  
  887.           The Batch Processing Feature of BCAST
  888.  
  889.                BCAST  provides  a batch  processing  function which  can be
  890.           invoked at  the command line.   This function  will automatically
  891.           process large numbers  of SGDB report  files and archive them  to
  892.           your  database.   All  SGDB files  processed  in this  manner are
  893.           automatically and accurately saved to your database fully sorted.
  894.  
  895.                The  addition  of  the  full-screen  processing  feature  to
  896.           version  1.01  of BCAST  (at the  "Process  Data Sets"  main menu
  897.           option) makes this  feature less attractive as  a mass-processing
  898.           function.  However, it is still a valuable feature for those  who
  899.           want  to  process  datasets  directly  from the  command-line  as
  900.           opposed  to  manually  selecting  the  files from  a  full-screen
  901.           display.
  902.            
  903.                To  execute this command, simply  run BCAST with the command
  904.           line parameter "-b" (or "-B", it  is not case sensitive) followed
  905.           by the name(s)  of the files you  want to process and  archive to
  906.           your database.  Wildcards in the filenames are permitted.  
  907.            
  908.                For  example,  to   create  (or  update)  a   database  file
  909.           containing every SGDB  report in  your current directory,  simply
  910.           type: "BCAST -B *.DLY" (excluding the parenthesis, of course) and
  911.           press  ENTER.    BCAST will  automatically  begin  processing and
  912.           archiving every file  containing the extension  ".DLY".  As  each
  913.           file is processed,  its name  is displayed on-screen  so you  can
  914.           monitor the progress of the processing.  It does not matter which
  915.           order  you specify  files to be  processed.   BCAST automatically
  916.           sorts the database so that all  added datasets are placed in  the
  917.           proper position in the  archive.  Selecting the files  to process
  918.           in a roughly preformatted  sequence will speed up  the processing
  919.           phase.
  920.  
  921.                During  the  batch processing  phase,  if BCAST  attempts to
  922.           process a dataset which  already exists in your  archive (ex.   a
  923.           dataset with  the  same date),  BCAST  discards the  dataset  and
  924.           processes  the next file.   You may therefore  process a group of
  925.           files without needing  to worry  about accidentally processing  a
  926.           duplicate dataset.  BCAST will not  batch process a dataset which
  927.           already exist in your database.
  928.            
  929.                After all of the files have  been processed, BCAST loads and
  930.           displays the title page, followed by the Main Menu, etc.
  931.  
  932.                Please note  that  the last  file processed  will reside  in
  933.           memory while BCAST  executes.   As a result,  if you  graphically
  934.           analyze  your  database  after  executing  the  batch  processing
  935.           feature, the graphical charts will  be displayed according to the
  936.           date  of  the last  dataset processed.    Consult the  section on
  937.           "Loading  a Data  Set  from the  Database"  for more  information
  938.           regarding this feature.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.                                                                          15
  946.  
  947.  
  948.                This feature is only available to those who have  registered
  949.           their copy of BCAST with us  (consult the file "REGISTER.DOC" for
  950.           more information regarding registration procedures).  
  951.  
  952.  
  953.           Alternate Methods of Executing BCAST
  954.  
  955.                You can  run BCAST and  load a  textual SGDB dataset  at the
  956.           same time by executing BCAST  with an extra parameter  specifying
  957.           the name of the file to load.  For example,  to execute BCAST and
  958.           automatically  read in  the file  "SGDB.TXT" so that  the dataset
  959.           contained in that file is loaded  in memory, simply execute BCAST
  960.           using the  command: "BCAST  SGDB.TXT".   This will  run BCAST  as
  961.           usual, but  will force it  to load in  the data contained  in the
  962.           file  SGDB.TXT before the  main menu appears.   This may speed up
  963.           the procedure for processing and analyzing the data set since you
  964.           will not need to manually select the file using the "Process Data
  965.           Sets" option of the main menu.
  966.  
  967.                Please note that  the dataset loaded  in this manner is  NOT
  968.           archived to your  database.  It is  simply loaded in memory.   If
  969.           you want to  archive the dataset to your  database, you will need
  970.           to either  include the "-B"  (batch processing) parameter  on the
  971.           command line or use  the "Process Data Sets"  option of the  main
  972.           menu.
  973.            
  974.                This function may be used on unregistered copies of BCAST.
  975.  
  976.  
  977.           Defragmenting the BCAST Database
  978.  
  979.                After the BCAST  database file (DATASETS.DAT) has  been used
  980.           for some time, it may become  fragmented.  Fragmentation of files
  981.           occurs when parts of the file are  stored over wide areas of your
  982.           hard or floppy drive.  The speed with which BCAST is able to work
  983.           with  the  database  will  slow  down  as  the  database  becomes
  984.           fragmented.  The amount of work required by hard drives will also
  985.           increase, since it  will need  to read sections  of the  database
  986.           from widely spaced areas on your hard disk.
  987.  
  988.                A fragmented  database file is  not a critical  or dangerous
  989.           condition.  It is simply an unnecessary and inefficient condition
  990.           that can be easily remedied.
  991.  
  992.                To  defragment  the database  file,  execute the  batch file
  993.           "DEFRAG.BAT" that has been included with version 1.02 of BCAST.
  994.           Execute this batch file from within the directory where the BCAST
  995.           database file (DATASETS.DAT) resides.  Type: "defrag" at your DOS
  996.           command prompt.   This is a  quick and simple  way to  defragment
  997.           your database  file and should  be done approximately  once every
  998.           couple of months to maintain an efficient and fast database.